<template>
	<view class="content">
		<view class="const" v-for="(item,index) in wenJianList" key="index">
			<view class="const1" style="display: flex;align-items: center;">
				<img :src="item.img" alt="" />
				<p style="margin-left: 20rpx;">{{item.title}}</p>
			</view>
			<view class="" style="display: flex;">
				<button class="btnBank" style="margin-right: 20rpx;">查看</button>
				<button class="btn">发送邮件</button>
			</view>
			
		</view>
	</view>
</template>

<script setup>
	import {
		ref
	} from 'vue'
	const wenJianList = [{
		img: "../../static/wenJianJia.png",
		title: "产品文档.pdf"
	}, {
		img: "../../static/wenJianJia.png",
		title: "产品文档.pdf"
	}]
</script>

<style scoped>
	.content {
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.const {
		display: flex;
		width: 88%;
		margin-top: 40rpx;
		border: 2rpx solid #D9D9D9;
		background-color: white;
		border-radius: 10rpx;
		padding: 40rpx 20rpx;
		box-shadow: 1rpx 1rpx 1rpx 1rpx #D9D9D9;
		align-items: center;
		justify-content: space-between;
	}

	.const1>img {
		width: 70rpx;
		height: 70rpx;
	}
	.btnBank{
		width: 80rpx;
		background: #E60012;
		color: white;
		font-size: 22rpx;
		padding: 0;
	}
	.btn {
		background: #E60012;
		color: white;
		width: 155rpx;
		font-size: 22rpx;
	}
</style>